package day05expand;

public class Text2 {
    public static void main(String[] args) {
        int num = 1; //阶乘
        for(int i=1;i<=8;i++){
            num*=i;
        }
        System.out.println("num="+num);
    }
}
